package com.tanhua.dubbo.server.api.mongo;

import com.tanhua.domain.mongo.Publish;
import com.tanhua.domain.vo.Movements;
import com.tanhua.domain.vo.PageResult;
import org.bson.types.ObjectId;

public interface PublishApi {

    void save(Publish publish);

    Movements findById(String id);

    PageResult findAll(int page,int size,Long userId,int type);
}
